home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / include / protostubs.h < prev    next >
C/C++ Source or Header  |  1997-05-08  |  1KB  |  64 lines

  1. /*----------------------------------------------------------------------
  2. | protstubs.h - MOproto* function stubs.
  3. |
  4. |    These stubbed MOproto* functions are used when linking DV-Tools 
  5. |    applications to avoid linking DV-Draw code into the executable.
  6. |
  7. |    The Tproto* functions use the same code as DV-Draw. When running
  8. |    DV-Draw, the proto functions need to interact with the Prototype 
  9. |    Run Menu, these stubs will prevent that code from being linked in.
  10. */
  11. #include "dvtools.h"
  12.  
  13. BOOLPARAM
  14. MOproto_menu_poll (proto_info)
  15.      PROTO_INFO_PTR proto_info;
  16. {
  17.   return DV_FAILURE;        /* No menu polling */
  18. }
  19.  
  20. void 
  21. MOproto_status (proto_info,status_item,info)
  22.      PROTO_INFO_PTR proto_info;
  23.      int status_item;
  24.      char *info;
  25. {
  26.   
  27. }
  28.  
  29. void 
  30. MOproto_redraw V_P_((void))
  31. {
  32.   
  33. }
  34.  
  35. BOOLPARAM 
  36. MOproto_error (proto_info, error)
  37.      PROTO_INFO_PTR proto_info;
  38.      char *error;
  39. {
  40.   return DV_SUCCESS;
  41. }
  42.  
  43. void 
  44. MOproto_setup (proto_info)
  45.      PROTO_INFO_PTR proto_info;
  46. {
  47.   
  48. }
  49.  
  50. LONG
  51. MOproto_speed (vp, incr)
  52.      RECTANGLE *vp;
  53.      int incr;
  54. {
  55.   return 10;
  56. }
  57.  
  58. void 
  59. MOproto_cleanup (proto_info)
  60.      PROTO_INFO_PTR proto_info;
  61. {
  62.   
  63. }
  64.